from django.urls import path
from rest_framework_jwt.views import obtain_jwt_token

from apps.user import views

urlpatterns = [
    path('login/', obtain_jwt_token),
    path('register/', views.RegisterView.as_view()),
    path('logout/', views.LogoutView.as_view()),
    path('user_info/', views.UserInfo.as_view()),
    path('head_img/', views.HeadImg.as_view()),
    path('user_head/', views.UserHead.as_view()),
]
